namespace hjc {

	export type AStarMapConfig = {
		colNum: number,		//节点列数
		rowNum: number,		//节点行数		
		name?: string,		//视图名称 ['A星地图']
		nodeSize?: number,	//节点宽高
		nodeWidth?: number,	//节点宽
		nodeHeight?: number,//节点高
		strategy?: string,	//距离策略 [DiagonalStrategy]
		diagCost?: number,	//斜向花费 [Math.SQRT2]
		allow8?: boolean,	//允许斜向移动 [true]
		data?: number[],	//节点数据
		cache?: boolean,	//缓存 [true]
	}

	export type ChunkMapConfig = {
		url: string,		//图块路径
		width: number,		//地图总宽
		height: number,		//地图总高
		colNum: number,		//图块列数
		rowNum: number,		//图块行数
		name?: string,		//视图名称 ['块地图']
		thumbnail?: string,	//缩略图
		chunkSize?: number,	//图块宽高
		chunkWidth?: number,//图块宽
		chunkHeight?: number,//图块高
		type?: string,		//图片后缀名 ['jpg']
		cache?: boolean,	//缓存 [true]
	}
}